﻿// Write a program that generates and prints to the console 10 random values in the range [100, 200].

using System;

public class Print10RandomValues
{
    private static void Main()
    {
        short count = 10;
        int minValue = 100;
        int maxValue = 200;

        Console.WriteLine("{0} Random values:", count);
        string separator = new string('=', 15 + count.ToString().Length);
        Console.WriteLine(separator);

        Random random = new Random();
        for (int i = 0; i < count; i++)
        {
            int randomNumber = random.Next(minValue, maxValue + 1);
            Console.WriteLine("{0:00}: {1}", i + 1, randomNumber);
        }
    }
}